# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=mkdocs-material
pkgver=9.5.5
pkgrel=1
pkgdesc="Material Design theme for MkDocs"
url="https://squidfunk.github.io/mkdocs-material"
arch="noarch"
license="MIT"
depends="
	mkdocs
	mkdocs-material-extensions
	py3-jinja2
	py3-markdown
	py3-pygments
	py3-pymdown-extensions
	python3
	"
makedepends="
	py3-gpep517
	py3-hatch-nodejs-version
	py3-hatch-requirements-txt
	py3-hatchling
	"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/squidfunk/mkdocs-material/archive/$pkgver.tar.gz"
options="!check" # No tests.

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/mkdocs*.whl
}

sha512sums="
73a4a513eed242fb690aae6a338636baf049bb510a7779ded6cefbedcdeb2cd1c681646b3587527d8e2a251315e70fa347acff4aeaa6959a26c9bfabd9ef3a64  mkdocs-material-9.5.5.tar.gz
"
